package cn.funeralobjects.urms.service;

import cn.funeralobjects.common.service.CommonCloudCrudService;
import cn.funeralobjects.urms.BasicInfo;
import cn.funeralobjects.urms.entity.EUserRes;
import cn.funeralobjects.urms.model.UserRes;

/**
 * @author FuneralObjects
 * Create date: 2020/6/10 3:10 PM
 */
public interface UserResService extends CommonCloudCrudService<UserRes, EUserRes, Integer> {
    String ENTITY_NAME = "UserRes";

    @Override
    default String getName() {
        return ENTITY_NAME;
    }

    @Override
    default String getModuleName() {
        return BasicInfo.MODULE_NAME;
    }

    Integer getExistsDelSalt();

    void bindTag(Integer userResId, String tagTypeCode, String tagValueCode);

    void unbindTag(Integer userResId, String tagValueCode);
}
